# !/bash/sh
# service bgmg

# nohup node ./bgmg/app.js > bgmg.log 2&1 &


cur_date="`date +%Y-%m-%d`"
log_file_name="$cur_date.log"

echo $log_file_name

node="/soft/nodejs-server/bin/node"
nohup="/usr/bin/nohup"

`$nohup $node ./bgmg/app.js > $log_file_name 2>&1 &`

set $end="app bgmg is run at 127.0.0.1:8050."
echo $end